#pragma once

// 将构造函数、拷贝构造函数与赋值运算符重载都设置成不可拷贝
class nocopy
{
public:
    nocopy() {};
    nocopy(const nocopy&) = delete;
    const nocopy& operator=(const nocopy&) = delete;
};